package com.mistyrain.service;

import com.mistyrain.entity.Menu;
import com.mistyrain.entity.MenuVO;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface MenuService {
    public MenuVO findAll(int page, int limit);
    public String prepareSave(Model model);
    public String save(Menu menu);
    public String findById(long id, Model model);
    public String update(Menu menu);
    public String deleteById(long id);
}
